package com.petshop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.petshop.pojo.PetProduct;
import org.apache.ibatis.annotations.Param;

/**
 * @author 20289
 * @description 针对表【pet_product】的数据库操作Mapper
 * @createDate 2025-03-04 20:57:21
 * @Entity com.petshop.pojo.PetProduct
 */
public interface PetProductMapper extends BaseMapper<PetProduct> {

    void updateReduceStock(@Param("petId") Integer petId, @Param("count") Integer count);
}




